package com.wing.sell.model.response;

import com.wing.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description:
 * @Project: szgc_new
 * @Package: com.wing.sell.model.response.FinishedOrderDetailVo
 * @Date: 2025/05/14 10:28
 * @Author: heZhou
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class OrderProExcelDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long orderId;

    private Long id;

    /**
     * 订单id
     */
    @ExcelExport(value = "订单编号", sort = 1)
    private String orderCode;


    /**
     * 客户信息
     */
    @ExcelExport(value = "客户名称", sort = 2)
    private String customerName;

    @ExcelExport(value = "客户物料编号", sort = 3)
    private String cusSkuCode;


    @ExcelExport(value = "客户物料名称", sort = 4)
    private String cusSkuName;

    @ExcelExport(value = "客户物料规格", sort = 5)
    private String cusSkuSpec;



    /**
     * 物料编号
     */
    @ExcelExport(value = "物料编号", sort = 6)
    private String skuCode;

    /**
     * 物料名称
     */
    @ExcelExport(value = "物料名称", sort = 7)
    private String skuName;

    /**
     * 规格型号
     */
    @ExcelExport(value = "规格型号", sort = 8)
    private String skuSpec;


    /**
     * 销售数量
     */
    @ExcelExport(value = "销售数量", sort = 9)
    private BigDecimal selQuality;

    /**
     * 单价
     */
    @ExcelExport(value = "单价", sort = 10)
    private BigDecimal price;

    /**
     * 总价
     */
    @ExcelExport(value = "总价", sort = 11)
    private BigDecimal totalPrice;


    /**
     * 创建时间
     */
    @ExcelExport(value = "创建时间", sort = 12)
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @ExcelExport(value = "创建人", sort = 13)
    private String creatorName;

}
